package com.jiyun.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("n_customer")
@ApiModel(value="n_customer用户", description="")
public class NCustomer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户序号")
    private Integer id;

    @ApiModelProperty(value = "用户ID")
    private String uid;

    @ApiModelProperty(value = "用户名称")
    private String realName;

    @ApiModelProperty(value = "用户手机号")
    private String phone;

    @ApiModelProperty(value = "用户类型")
    private Integer customerType;

    @ApiModelProperty(value = "用户性别")
    private Integer gender;

    @ApiModelProperty(value = "生日")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birthday;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "注册时所在城市")
    private String registerCity;

    @ApiModelProperty(value = "注册时所在行政区")
    private String registerArea;

    @ApiModelProperty(value = "最近一次登录时间")
    private Date lastLogin;

    @ApiModelProperty(value = "注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date registDate;

    @ApiModelProperty(value = "用户头像")
    private String imgest;

    @ApiModelProperty(value = "里程数")
    private String kmm;
    @ApiModelProperty(value = "家庭地址")
    private String homuAddss;
    @ApiModelProperty(value = "公司地址")
    private String company;

}
